<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加班级</title>
    <link rel="stylesheet" href="css/bootstrap.css">
    <link rel="stylesheet" href="css/class_add.css">
    <script src="js/angular.min.js"></script>
    <script src="js/class_add.js"></script>
</head>
<body>
   <div id="class-add" ng-app="classAdd" ng-controller="clazz" ng-submit="submitForm()">
       <form role="form" class="form-horizontal">
           <div class="form-group">
               <label for="cname" class="col-sm-3 control-label">班级名称</label>
               <div class="col-sm-9">
                   <input type="text" class="form-control" id="cname"
                          ng-model="c.cname" ng-required="true">
               </div>
           </div>

           <div class="form-group">
               <label for="leader" class="col-sm-3 control-label">班级名称</label>
               <div class="col-sm-9">
                   <input type="text" class="form-control" id="leader"
                          ng-model="c.leader" ng-required="true">
               </div>
           </div>

           <div class="form-group">
               <label for="remark" class="col-sm-3 control-label">班级名称</label>
               <div class="col-sm-9">
                   <input type="text" class="form-control" id="remark"
                          ng-model="c.remark" ng-required="true">
               </div>
           </div>
           <div class="form-group">
               <input type="submit" class="btn btn-primary center-block" id="submit" value="提交"/>
           </div>
       </form>
   </div>
</body>
</html>